home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / regkey21.zip / BP.H next >
Text File  |  1992-08-10  |  3KB  |  39 lines

  1. /*****************************************************************************/
  2. /*                 REGISTRATION KEY SYSTEM FOR C PROGRAMMERS                 */
  3. /*                               Version 2.00                                */
  4. /*                                                                           */
  5. /*                                                                           */
  6. /*         (C) Copyright 1992, Brian Pirie. All Rights Reserved.             */
  7. /*                                                                           */
  8. /*                                                                           */
  9. /*  You are granted permission to use an unmodified version of this code     */
  10. /*  in any program, so long as your program's documentation acknowledges     */
  11. /*  the use of this code.                                                    */
  12. /*                                                                           */
  13. /*  I can be contacted at -   FidoNet : 1:243/8                              */
  14. /*                           InterNet : Brian.Pirie@f8.n243.z1.fidonet.org   */
  15. /*                         Data (BBS) : +1 613 526 4466                      */
  16. /*                             Postal : 1416 - 2201 Riverside Dr.            */
  17. /*                                      Ottawa, Ontario                      */
  18. /*                                      Canada                               */
  19. /*                                      K1H 8K9                              */
  20. /*                                                                           */
  21. /*  To compile a program using the bp() function, simply include this file,  */
  22. /*  and add the BP?.LIB file to your project / makefile. This code is        */
  23. /*  intended for use only in conjuction with Turbo C(++)/Borland C++. To     */
  24. /*  obtain a version for use with any other compiler, contact me by any of   */
  25. /*  the above means.                                                         */
  26. /*****************************************************************************/
  27.  
  28.                                           /* Prototype for the bp() function */
  29. unsigned long bp(char *registration_string, unsigned int security_code);
  30.  
  31. /* The bp() function returns an unsigned long integer (32 bits) registration
  32.  * key which corresponds to the string pointed to by the registration_string
  33.  * parameter. This string will usually be the name of the person who has
  34.  * registered your program. Any given program which uses the bp() function
  35.  * should pass it's own unique value in the security_code parameter. For
  36.  * more information on using this registration key system, please see the
  37.  * accompanying documentation, in the REGKEY.DOC file
  38.  */
  39.